home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / dhcp_relay.z / dhcp_relay
Text File  |  1998-10-20  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4. ddddhhhhccccpppp____rrrreeeellllaaaayyyy((((1111MMMM))))                                                  ddddhhhhccccpppp____rrrreeeellllaaaayyyy((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      dhcp_relay - proclaim relay-agent for Dynamic Host Configuration Protocol
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////eeeettttcccc////ddddhhhhccccpppp____rrrreeeellllaaaayyyy [ ----ffff ] [ ----oooo _r_e_l_a_y__o_p_t_i_o_n_s__f_i_l_e ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _d_h_c_p__r_e_l_a_y is the relay-agent that communicates with other DHCP and
  16.      _p_r_o_c_l_a_i_m clients and servers to provide address-leases across networks
  17.      using DHCP messages.  The format of DHCP messages is based on BOOTP
  18.      messages (see RFC 951).  A detailed protocol specification for DHCP is
  19.      contained in RFC 1541, available from the Network Information Center.
  20.  
  21.      The DHCP relay-agent receives service requests at the UDP port indicated
  22.      in the _b_o_o_t_p service description contained in the file /_e_t_c/_s_e_r_v_i_c_e_s (see
  23.      _s_e_r_v_i_c_e_s(4)).
  24.  
  25.      _d_h_c_p__r_e_l_a_y replaces the standard _b_o_o_t_p(_1_M) server application and serves
  26.      both _b_o_o_t_p and DHCP clients.  The ----ffff option on the command line enables
  27.      the forwarding function of _b_o_o_t_p(_1_M).
  28.  
  29.  
  30. CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN
  31.      _d_h_c_p__r_e_l_a_y execution can be controlled through the following steps.
  32.  
  33.      1)  Specify relay-agent options in the /_e_t_c/_c_o_n_f_i_g/_d_h_c_p__r_e_l_a_y._o_p_t_i_o_n_s
  34.          file, if any, as in this example:
  35.          ----cccc pppprrrrooooccccllllaaaaiiiimmmm____ccccoooonnnnffffiiiigggg____ddddiiiirrrr
  36.          This specifies an optional _p_r_o_c_l_a_i_m server configuration directory.
  37.          The default directory is /_v_a_r/_d_h_c_p/_c_o_n_f_i_g.
  38.  
  39.      2)  The configuration directory contains a file _d_h_c_p__r_e_l_a_y._s_e_r_v_e_r_s, which
  40.          has a list of _p_r_o_c_l_a_i_m servers, one per line.  DHCP messages are
  41.          forwarded to each server contained in this file.  Proclaim servers
  42.          may be specified using either an Internet host name or an Internet
  43.          address in standard dot notation (see _i_n_e_t(3N)).  Here is a sample
  44.          _d_h_c_p__r_e_l_a_y._s_e_r_v_e_r_s configuration file:
  45.          111199992222....22226666....66661111....9999
  46.          ddddhhhhccccppppsssseeeerrrrvvvveeeerrrr....ssssggggiiii....ccccoooommmm
  47.  
  48.      3)  Enable the _p_r_o_c_l_a_i_m relay-agent by entering these commands:
  49.          cccchhhhkkkkccccoooonnnnffffiiiigggg pppprrrrooooccccllllaaaaiiiimmmm____rrrreeeellllaaaayyyyaaaaggggeeeennnntttt oooonnnn
  50.          cccchhhhkkkkccccoooonnnnffffiiiigggg pppprrrrooooccccllllaaaaiiiimmmm____sssseeeerrrrvvvveeeerrrr ooooffffffff
  51.  
  52.      4)  Replace the "bootp" entry in /_u_s_r/_e_t_c/_i_n_e_t_d._c_o_n_f with this line:
  53.          bbbboooooooottttpppp ddddggggrrrraaaammmm uuuuddddpppp wwwwaaaaiiiitttt rrrrooooooootttt ////uuuussssrrrr////eeeettttcccc////ddddhhhhccccpppp____rrrreeeellllaaaayyyy ddddhhhhccccpppp____rrrreeeellllaaaayyyy ----oooo \\\\
  54.               ////eeeettttcccc////ccccoooonnnnffffiiiigggg////ddddhhhhccccpppp____rrrreeeellllaaaayyyy....ooooppppttttiiiioooonnnnssss
  55.  
  56.      5)  Kill any running _b_o_o_t_p with this command:
  57.          ////eeeettttcccc////kkkkiiiillllllllaaaallllllll bbbboooooooottttpppp
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ddddhhhhccccpppp____rrrreeeellllaaaayyyy((((1111MMMM))))                                                  ddddhhhhccccpppp____rrrreeeellllaaaayyyy((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      6)  Restart _i_n_e_t_d with this command:
  75.          ////eeeettttcccc////kkkkiiiillllllllaaaallllllll ----HHHHUUUUPPPP iiiinnnneeeettttdddd
  76.  
  77.  
  78. FFFFIIIILLLLEEEESSSS
  79.      /etc/config/dhcp_relay.options
  80.      /etc/hosts
  81.      /etc/ethers
  82.      /usr/etc/inetd.conf
  83.      /var/dhcp/etherToIP
  84.      /var/dhcp/config/dhcp_relay.servers
  85.  
  86.  
  87. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  88.      bootp(1M), chkconfig(1M), dhcp_bootp(1M), inetd(1M), proclaim(1M),
  89.      ProclaimRelayMgr(1M), syslogd(1M), ethers(4), hosts(4).
  90.  
  91.      IETF RFCs 1541, 1533, 1534, 1535.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.